package org.csu.onlineedubackend.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;

@TableName("survey_answer")
@Data
public class SurveyAnswer {
    @TableId(type = IdType.AUTO)
    private Integer id;
    
    private Integer surveyId;
    
    private Integer questionId;
    
    private Integer userId;
    
    private String answerText;
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;
} 